import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({
  // mode: 'history',
  routes: [{
      path: '/',
      redirect: '/jump'
    },
    {
      path: '/home',
      name: 'home',
      component: () => import('@/pages/home')
    },
    {
      path: '/jump',
      name: 'jump',
      component: () => import('@/pages/jump')
    },
    {
      path: '/pic_pass',
      name: 'pic_pass',
      component: () => import('@/pages/pic_pass')
    },
    {
      path: '/system',
      name: 'system',
      component: () => import('@/pages/system')
    },
    {
      path: '/freeze',
      name: 'freeze',
      component: () => import('@/pages/freeze')
    },
    {
      path: '/collection',
      name: 'collection',
      component: () => import('@/pages/collection')
    },
    {
      path: '/pic',
      name: 'pic',
      component: () => import('@/pages/pic')
    },
    {
      path: '/activity',
      name: 'activity',
      component: () => import('@/pages/activity')
    },
    {
      path: '/Task-attention',
      name: 'Task-attention',
      component: () => import('@/pages/Task-attention')
    },
    {
      path: '/invitation-code',
      name: 'invitation-code',
      component: () => import('@/pages/invitation-code')
    },
    {
      path: '/task-begin',
      name: 'task-begin',
      component: () => import('@/pages/task-begin')
    },
    {
      path: '/Task-flow',
      name: 'Task-flow',
      component: () => import('@/pages/Task-flow')
    },
    {
      path: '/task',
      name: 'task',
      component: () => import('@/pages/task')
    },
    {
      path: '/ranking',
      name: 'ranking',
      component: () => import('@/pages/ranking')
    },
    {
      path: '/mine',
      name: 'mine',
      component: () => import('@/pages/mine')
    },
    {
      path: '/uploadImg',
      name: 'uploadImg',
      component: () => import('@/pages/uploadImg')
    },
    {
      path: '/uploadImg_new',
      name: 'uploadImg_new',
      component: () => import('@/pages/uploadImg_new')
    },
    {
      path: '/notice',
      name: 'notice',
      component: () => import('@/pages/notice')
    },
    {
      path: '/profile',
      name: 'profile',
      component: () => import('@/pages/profile')
    },
    {
      path: '/complaint',
      name: 'complaint',
      component: () => import('@/pages/complaint')
    },
    {
      path: '/feedback',
      name: 'feedback',
      component: () => import('@/pages/feedback')
    },
    {
      path: '/taskmanage',
      name: 'taskmanage',
      component: () => import('@/pages/taskmanage')
    },
    {
      path: '/withdrawal',
      name: 'withdrawal',
      component: () => import('@/pages/withdrawal')
    },
    {
      path: '/detail',
      name: 'detail',
      component: () => import('@/pages/detail')
    },
    {
      path: '/filling',
      name: 'filling',
      component: () => import('@/pages/filling')
    },
    {
      path: '/taskdetail',
      name: 'taskdetail',
      component: () => import('@/pages/taskdetail')
    },
    {
      path: '/introduce',
      name: 'introduce',
      component: () => import('@/pages/introduce')
    },
    {
      path: '/sponsor',
      name: 'sponsor',
      component: () => import('@/pages/sponsor')
    },
    {
      path: '/change',
      name: 'change',
      component: () => import('@/pages/change')
    },
    {
      path: '/change_new',
      name: 'change_new',
      component: () => import('@/pages/change_new')
    },
    {
      path: '/bindww',
      name: 'bindww',
      component: () => import('@/pages/bindww')
    },
    {
      path: '/invite',
      name: 'invite',
      component: () => import('@/pages/invite')
    },
    {
      path: '/evaluate',
      name: 'evaluate',
      component: () => import('@/pages/evaluate')
    },
    {
      path: '/share',
      name: 'share',
      component: () => import('@/pages/share')
    }
  ]
})
